package com.tang.objectOriented.middleRank.super_;

public class Super01 {
    public static void main(String[] args) {
        B b = new B();//子类对象
        //b.sum();
        b.test();
        String name = b.name;
        String sname = b.aname;
        System.out.println("name = " + name);
        System.out.println("sname = " + sname);

    }
}
